import { redirect } from 'next/navigation'; type Props = { params: Promise<{ sid: string }>; }; export default async function FeedUserRedirectPage({ params }: Props) { const { sid } = await params; redirect(`/user/${encodeURIComponent(sid)}/feed`); }